package com.leinao.dataset.dto;

import com.leinao.category.dto.CategoryRelationDto;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author  wangshoufa 
 * @date 2018年11月7日 下午4:58:09
 *
 */

public class PaiDataSetDto implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -6619458634076364944L;
	
	private Long id;
	
	/**
	 * 编号
	 * 
	 */
	private String number;

	/**
	 * 名称
	 */
    private String name;

    /**
     * 是否公开
     * 
     */
    private Integer type;
    
    /**
     * 路径
     * 
     */
    private String path;

	/**
	 * 数据集容器路径，不是文件中心容器路径，是供底层运行Job用的
	 *
	 */
	private String containerPath;

    /**
     * owner email
     * 
     */
    private String provider;
    
    private String userId;
    /**
     * 简介
     * 
     */
    private String profile;
    /**
     * 备注
     * 
     */
    private String remark;

    private Long createTime;
    
    private Long updateTime;

	/**
	 * 项目使用次数
	 */
	private Integer userProjectCount = 0;

	/**
	 * 数据集关注次数
	 */
	private Integer userProjectAttentionCount;

	/**
	 * 数据集封面原图地址
	 */
	private String coverUrl;

	/**
	 * 数据集封面缩略图地址
	 */
	private String thumbnailUrl;

	/**
	 * 项目owner用户名
	 */
	private String userName;

	/**
	 * 用户头像
	 */
	private String headImage;
	/**
	 * 用户头像
	 */
	private String username;

	/**
	 * 分类信息
	 */
	private List<CategoryRelationDto> categoryList = new ArrayList<>();

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public String getContainerPath() {
		return containerPath;
	}

	public void setContainerPath(String containerPath) {
		this.containerPath = containerPath;
	}

	public String getProvider() {
		return provider;
	}

	public void setProvider(String provider) {
		this.provider = provider;
	}

	public Long getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Long createTime) {
		this.createTime = createTime;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getProfile() {
		return profile;
	}

	public void setProfile(String profile) {
		this.profile = profile;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Long getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Long updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getUserProjectCount() {
		return userProjectCount;
	}

	public void setUserProjectCount(Integer userProjectCount) {
		this.userProjectCount = userProjectCount;
	}

	public String getCoverUrl() {
		return coverUrl;
	}

	public void setCoverUrl(String coverUrl) {
		this.coverUrl = coverUrl;
	}

	public String getThumbnailUrl() {
		return thumbnailUrl;
	}

	public void setThumbnailUrl(String thumbnailUrl) {
		this.thumbnailUrl = thumbnailUrl;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getHeadImage() {
		return headImage;
	}

	public void setHeadImage(String headImage) {
		this.headImage = headImage;
	}

	public List<CategoryRelationDto> getCategoryList() {
		return categoryList;
	}

	public void setCategoryList(List<CategoryRelationDto> categoryList) {
		this.categoryList = categoryList;
	}

	public Integer getUserProjectAttentionCount() {
		return userProjectAttentionCount;
	}

	public void setUserProjectAttentionCount(Integer userProjectAttentionCount) {
		this.userProjectAttentionCount = userProjectAttentionCount;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	@Override
	public String toString() {
		return "PaiDataSetDto{" +
				"id=" + id +
				", number='" + number + '\'' +
				", name='" + name + '\'' +
				", type=" + type +
				", path='" + path + '\'' +
				", containerPath='" + containerPath + '\'' +
				", provider='" + provider + '\'' +
				", userId='" + userId + '\'' +
				", profile='" + profile + '\'' +
				", remark='" + remark + '\'' +
				", createTime=" + createTime +
				", updateTime=" + updateTime +
				", userProjectCount=" + userProjectCount +
				", coverUrl='" + coverUrl + '\'' +
				", thumbnailUrl='" + thumbnailUrl + '\'' +
				", userName='" + userName + '\'' +
				", headImage='" + headImage + '\'' +
				", categoryList=" + categoryList +
				'}';
	}
}